WeDevs\Dokan\REST\WithdrawController B

Total Complexity 86
Dependencies 6
Dependents 0
Total lines 976
Lines of code 602
Logical lines of code 235
Comment lines 244
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
get_items()
A
37 13 71
batch_items()
A
42 12 61
update_item()
A
44 12 44
create_item()
A
44 9 45
format_collection_response()
S
51 7 25
prepare_item_for_response()
S
50 6 27
register_routes()
S
38 1 93
get_item_schema()
S
41 1 68
delete_item()
S
60 3 13
get_item_permissions_check()
S
63 3 11
withdraw_exists()
S
62 3 11
get_public_batch_schema()
S
48 1 40
get_payment_method_item_schema()
S
54 1 24
create_item_permissions_check()
S
79 2 3
get_payment_method_items()
S
63 2 10
get_balance()
S
60 1 13
prepare_links()
S
63 1 11
delete_item_permissions_check()
S
80 1 3
get_item()
S
72 1 5
update_item_permissions_check()
S
80 1 3
get_items_permissions_check()
S
80 1 3
prepare_payment_method_item_for_response()
S
66 1 8
get_payment_method_items_permissions_check()
S
80 1 3
get_user_data()
S
76 1 4
batch_items_permissions_check()
S
80 1 3